
#ifndef _PLANETE_H
#define _PLANETE_H

#include "opengl.h"
#include "Image.h"
#include "Vec3f.h"
#include "Animation.h"
#include "Scene.h"

//! The structure Planete stores all texture Id or images used by the planeteDraw fonction
struct Planete
{
  Animation anim;
  unsigned int tex_planete;
  unsigned int tex_satellite;
};

//! Init planete
void initPlanete (Planete& planete);

//!Draw planete 
void draw_planete (double x, double y, double z, double r, int v, unsigned int tex_planete);

//! creer sphere
void createSphere(double x, double y, double z, double r,int n,int method);

//! Draw Satelite
void draw_satelite(Animation anim, const unsigned int texture);
#endif
